Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NumberFormatException when translating numeric literals #488

Merged
merged 1 commit into from
Jun 3, 2022

Conversation

mysticfall
Copy link
Contributor

Summary

This PR fixes a problem with converting numeric literals with a decimal point (e.g. "1.5").

With the current master, converting API wrappers for Babylon.js fails due to a NumberFormatException caused by trying to parse lines such as below:

static readonly _DefaultIndexOfRefraction = 1.5;

Related Issue

#487

Fix a problem with converting numeric literals with a decimal point
(e.g. "1.5").
@JSMonk JSMonk self-requested a review June 3, 2022 16:59
@JSMonk JSMonk merged commit c92dd39 into Kotlin:master Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants